package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.vo.ElecImportInfoVo;
import com.ruoyi.system.mapper.ElecImportMapper;
import com.ruoyi.system.service.ElecImportService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author xy
 * @version 1.0
 * @description:
 * @date 2024/7/5 9:54
 */
@Service
public class ElecImportServiceImpl implements ElecImportService {
    @Resource
    private ElecImportMapper mapper;

    @Override
    public ElecImportInfoVo selectElecImportInfoByUsageId(Long usageId) {
        return mapper.selectElecImportByUsageId(usageId);
    }

    @Override
    public int insertElecImportByUsageId(Long usageId) {
        return mapper.insertElecImportByUsageId(usageId);
    }
}
